import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:portal_website/pages/common_header.dart';

class ConferenceServicePage extends StatelessWidget {
  const ConferenceServicePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color(0xFFF5F9FF),
      body: SingleChildScrollView(
        child: Container(
          margin: EdgeInsets.only(top: 50),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              // 头部导航
              Breadcrumb(text: "首页 > 服务平台 > 会务服务"),

              PageTitle(title: "会务服务", subtitle: "专业一站式会议活动解决方案，为您打造完美会议体验"),

              // 会务服务介绍
              _buildIntroSection(),

              // 服务优势
              _buildAdvantagesSection(),

              // 服务内容
              _buildServicesSection(),

              // 服务流程
              _buildProcessSection(),

              // 场地展示
              _buildVenueSection(),

              // 案例展示
              _buildCasesSection(),

              // 页脚
              _buildFooter(),
            ],
          ),
        ),
      ),
    );
  }

  Widget _buildHeader() {
    return Container(
      decoration: const BoxDecoration(
        gradient: LinearGradient(
          colors: [Color(0xFF1E5799), Color(0xFF207CCA)],
          begin: Alignment.topLeft,
          end: Alignment.bottomRight,
        ),
        borderRadius: BorderRadius.vertical(bottom: Radius.circular(8)),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 10,
            offset: Offset(0, 5),
          ),
        ],
      ),
      padding: const EdgeInsets.symmetric(vertical: 30, horizontal: 30),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: [
          const Text(
            '创新服务平台',
            style: TextStyle(
              color: Colors.white,
              fontSize: 24,
              fontWeight: FontWeight.bold,
            ),
          ),
          MediaQuery.of(Get.context!).size.width < 768
              ? const Icon(Icons.menu, color: Colors.white)
              : _buildNavigationMenu(),
        ],
      ),
    );
  }

  Widget _buildNavigationMenu() {
    return Row(
      children: [
        _buildNavItem('首页'),
        _buildNavItem('会务服务', isActive: true),
        _buildNavItem('场地预订'),
        _buildNavItem('案例展示'),
        _buildNavItem('联系我们'),
      ],
    );
  }

  Widget _buildNavItem(String text, {bool isActive = false}) {
    return Padding(
      padding: const EdgeInsets.only(left: 25),
      child: Text(
        text,
        style: TextStyle(
          color: Colors.white,
          fontSize: 16,
          fontWeight: isActive ? FontWeight.bold : FontWeight.normal,
        ),
      ),
    );
  }

  Widget _buildBreadcrumb() {
    return Container(
      padding: const EdgeInsets.all(20),
      child: Text(
        '首页 > 服务平台 > 会务服务',
        style: TextStyle(
          color: const Color(0xFF666666),
          fontSize: 14,
        ),
      ),
    );
  }

  Widget _buildIntroSection() {
    return Container(
      margin: const EdgeInsets.all(20),
      padding: const EdgeInsets.all(40),
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 3),
          ),
        ],
      ),
      child: Column(
        children: [
          MediaQuery.of(Get.context!).size.width < 768
              ? Column(
                  children: [
                    _buildIntroText(),
                    const SizedBox(height: 20),
                    _buildIntroImage(),
                  ],
                )
              : Row(
                  children: [
                    Expanded(child: _buildIntroText()),
                    const SizedBox(width: 40),
                    _buildIntroImage(),
                  ],
                ),
        ],
      ),
    );
  }

  Widget _buildIntroText() {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: const [
        Text(
          '会务服务概述',
          style: TextStyle(
            color: Color(0xFF1E5799),
            fontSize: 24,
            fontWeight: FontWeight.bold,
          ),
        ),
        SizedBox(
          height: 20,
        ),
        Text(
          '创新服务平台提供专业的一站式会务服务解决方案，涵盖会议策划、场地预订、设备租赁、现场执行等全流程服务。我们的专业团队拥有丰富的会议活动经验，能够根据客户需求定制个性化的会务方案。',
          style: TextStyle(
            color: Color(0xFF555555),
            fontSize: 16,
            height: 1.8,
          ),
        ),
        SizedBox(
          height: 20,
        ),
        Text(
          '我们与全国1000+优质会议场地建立了合作关系，包括五星级酒店、会议中心、特色场地等，能够满足不同规模、不同类型的会议需求。同时，我们提供专业的会议技术支持，包括同声传译、视频会议、直播服务等，确保会议顺利进行。',
          style: TextStyle(
            color: Color(0xFF555555),
            fontSize: 16,
            height: 1.8,
          ),
        ),
        SizedBox(
          height: 20,
        ),
        Text(
          '平台已成功承办超过500场会议活动，服务客户包括世界500强企业、政府机构、行业协会等，客户满意度达98%。',
          style: TextStyle(
            color: Color(0xFF555555),
            fontSize: 16,
            height: 1.8,
          ),
        ),
      ],
    );
  }

  Widget _buildIntroImage() {
    return Container(
      width: 500,
      height: 300,
      decoration: BoxDecoration(
        color: Colors.grey[200],
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 10,
            offset: const Offset(0, 5),
          ),
        ],
      ),
      child: const Center(
        child: Text(
          '会务服务',
          style: TextStyle(
            color: Colors.grey,
            fontSize: 18,
          ),
        ),
      ),
    );
  }

  Widget _buildAdvantagesSection() {
    return Container(
      margin: const EdgeInsets.all(20),
      padding: const EdgeInsets.all(40),
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 3),
          ),
        ],
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          _buildSectionTitle('我们的优势'),
          const SizedBox(height: 10),
          const Text(
            '选择我们的会务服务，享受专业、高效、省心的会议体验',
            style: TextStyle(
              color: Color(0xFF666666),
              fontSize: 16,
            ),
          ),
          const SizedBox(height: 30),
          _buildAdvantagesGrid(),
        ],
      ),
    );
  }

  Widget _buildSectionTitle(String title) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Text(
          title,
          style: const TextStyle(
            color: Color(0xFF1E5799),
            fontSize: 24,
            fontWeight: FontWeight.bold,
          ),
        ),
        const SizedBox(height: 15),
        Container(
          width: double.infinity,
          height: 2,
          color: const Color(0xFFF0F0F0),
          child: Align(
            alignment: Alignment.centerLeft,
            child: Container(
              width: 80,
              height: 2,
              color: const Color(0xFF207CCA),
            ),
          ),
        ),
      ],
    );
  }

  Widget _buildAdvantagesGrid() {
    return GridView.count(
      shrinkWrap: true,
      physics: const NeverScrollableScrollPhysics(),
      crossAxisCount: MediaQuery.of(Get.context!).size.width < 768 ? 2 : 3,
      crossAxisSpacing: 30,
      mainAxisSpacing: 30,
      childAspectRatio: 250 / 200,
      children: [
        _buildAdvantageCard('🏨', '丰富场地资源', '覆盖全国1000+优质会议场地，满足不同规模、不同类型会议需求'),
        _buildAdvantageCard('👨‍💼', '专业团队', '资深会务策划和执行团队，拥有10年以上行业经验'),
        _buildAdvantageCard('💰', '成本控制', '通过规模采购和资源整合，为客户节省20%-30%的会议成本'),
        _buildAdvantageCard('🔄', '一站式服务', '从策划到执行的全流程服务，客户只需提出需求'),
        _buildAdvantageCard('📱', '技术支持', '提供先进的会议技术解决方案，包括直播、同传等'),
        _buildAdvantageCard('🛡️', '风险保障', '完善的应急预案和保险服务，确保会议安全顺利'),
      ],
    );
  }

  Widget _buildAdvantageCard(String icon, String title, String description) {
    return Container(
      padding: const EdgeInsets.all(30),
      decoration: BoxDecoration(
        color: const Color(0xFFF9FBFF),
        borderRadius: BorderRadius.circular(8),
        border: Border.all(color: const Color(0xFFE0E9FF)),
        boxShadow: [
          BoxShadow(
            color: Colors.transparent,
            blurRadius: 10,
            offset: const Offset(0, 10),
          ),
        ],
      ),
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Text(
            icon,
            style: const TextStyle(fontSize: 48, color: Color(0xFF207CCA)),
          ),
          const SizedBox(height: 20),
          Text(
            title,
            textAlign: TextAlign.center,
            style: const TextStyle(
              color: Color(0xFF1E5799),
              fontSize: 20,
              fontWeight: FontWeight.bold,
            ),
          ),
          const SizedBox(height: 15),
          Text(
            description,
            textAlign: TextAlign.center,
            style: const TextStyle(
              color: Color(0xFF666666),
              fontSize: 14,
            ),
          ),
        ],
      ),
    );
  }

  Widget _buildServicesSection() {
    return Container(
      margin: const EdgeInsets.all(20),
      padding: const EdgeInsets.all(40),
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 3),
          ),
        ],
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          _buildSectionTitle('服务内容'),
          const SizedBox(height: 10),
          const Text(
            '全方位的会务服务，满足您的各类会议需求',
            style: TextStyle(
              color: Color(0xFF666666),
              fontSize: 16,
            ),
          ),
          const SizedBox(height: 30),
          _buildServiceList(),
        ],
      ),
    );
  }

  Widget _buildServiceList() {
    return Column(
      children: [
        _buildServiceItem(
            '会议策划',
            '会议策划与咨询',
            '提供专业的会议策划服务，包括会议主题设计、议程规划、嘉宾邀请等。我们的策划团队将根据会议目标和预算，设计最优的会议方案，确保会议效果最大化。',
            '服务特点：创意策划、精准定位、效果导向\n适用场景：企业年会、行业峰会、新品发布会等'),
        _buildServiceItem(
            '场地预订',
            '场地预订与管理',
            '提供全国范围内的会议场地预订服务，包括酒店、会议中心、特色场地等。我们与多家场地建立了战略合作关系，能够为客户争取最优价格和增值服务。',
            '服务特点：资源丰富、价格优惠、增值服务\n适用场景：各类会议、培训、活动场地需求'),
        _buildServiceItem(
            '会议执行',
            '会议现场执行',
            '提供专业的会议现场执行服务，包括签到管理、会场布置、设备调试、流程控制等。我们的执行团队经验丰富，能够确保会议各个环节顺利进行。',
            '服务特点：专业团队、细致服务、应急保障\n适用场景：需要专业现场执行的各类会议活动'),
        _buildServiceItem(
            '技术支持',
            '会议技术支持',
            '提供全方位的会议技术支持，包括同声传译、视频会议、直播服务、多媒体制作等。我们拥有先进的技术设备和专业的技术团队，能够满足各类技术需求。',
            '服务特点：先进设备、专业团队、稳定可靠\n适用场景：国际会议、线上会议、大型活动等'),
      ],
    );
  }

  Widget _buildServiceItem(
      String imageText, String title, String description, String features) {
    return Container(
      margin: EdgeInsets.only(bottom: 30),
      padding: EdgeInsets.only(bottom: 30),
      decoration: const BoxDecoration(
        border: Border(
          bottom: BorderSide(
            color: Color(0xFFE0E9FF),
            style: BorderStyle.solid,
          ),
        ),
      ),
      child: MediaQuery.of(Get.context!).size.width < 768
          ? Column(
              children: [
                _buildServiceImage(imageText),
                const SizedBox(height: 20),
                _buildServiceContent(title, description, features),
              ],
            )
          : Row(
              children: [
                _buildServiceImage(imageText),
                const SizedBox(width: 30),
                Expanded(
                    child: _buildServiceContent(title, description, features)),
              ],
            ),
    );
  }

  Widget _buildServiceImage(String text) {
    return Container(
      width: 300,
      height: 200,
      decoration: BoxDecoration(
        color: Colors.grey[200],
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 5),
          ),
        ],
      ),
      child: Center(
        child: Text(
          text,
          style: const TextStyle(
            color: Colors.grey,
            fontSize: 18,
          ),
        ),
      ),
    );
  }

  Widget _buildServiceContent(
      String title, String description, String features) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Text(
          title,
          style: const TextStyle(
            color: Color(0xFF1E5799),
            fontSize: 20,
            fontWeight: FontWeight.bold,
          ),
        ),
        const SizedBox(height: 15),
        Text(
          description,
          style: const TextStyle(
            color: Color(0xFF555555),
            fontSize: 15,
            height: 1.8,
          ),
        ),
        const SizedBox(height: 10),
        Text(
          features,
          style: const TextStyle(
            color: Color(0xFF555555),
            fontSize: 15,
            height: 1.8,
          ),
        ),
      ],
    );
  }

  Widget _buildProcessSection() {
    return Container(
      margin: const EdgeInsets.all(20),
      padding: const EdgeInsets.all(40),
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 3),
          ),
        ],
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          _buildSectionTitle('服务流程'),
          const SizedBox(height: 10),
          const Text(
            '清晰的服务流程，确保会议活动顺利进行',
            style: TextStyle(
              color: Color(0xFF666666),
              fontSize: 16,
            ),
          ),
          const SizedBox(height: 40),
          _buildProcessSteps(),
        ],
      ),
    );
  }

  Widget _buildProcessSteps() {
    return LayoutBuilder(
      builder: (context, constraints) {
        if (constraints.maxWidth < 768) {
          return Column(
            children: [
              _buildProcessStep(1, '需求沟通', '了解客户需求，明确会议目标和预算'),
              _buildProcessStep(2, '方案设计', '制定会议方案，包括场地、议程、预算等'),
              _buildProcessStep(3, '合同签订', '确认方案细节，签订服务合同'),
              _buildProcessStep(4, '筹备执行', '场地布置、物料准备、人员安排等'),
              _buildProcessStep(5, '现场服务', '会议现场执行与管理，确保顺利进行'),
            ],
          );
        } else {
          return Stack(
            children: [
              Positioned(
                top: 30,
                left: 0,
                right: 0,
                height: 3,
                child: Container(
                  decoration: const BoxDecoration(
                    gradient: LinearGradient(
                      colors: [Color(0xFF207CCA), Color(0xFF1E5799)],
                    ),
                  ),
                ),
              ),
              Row(
                mainAxisAlignment: MainAxisAlignment.spaceBetween,
                children: [
                  _buildProcessStep(1, '需求沟通', '了解客户需求，明确会议目标和预算'),
                  _buildProcessStep(2, '方案设计', '制定会议方案，包括场地、议程、预算等'),
                  _buildProcessStep(3, '合同签订', '确认方案细节，签订服务合同'),
                  _buildProcessStep(4, '筹备执行', '场地布置、物料准备、人员安排等'),
                  _buildProcessStep(5, '现场服务', '会议现场执行与管理，确保顺利进行'),
                ],
              ),
            ],
          );
        }
      },
    );
  }

  Widget _buildProcessStep(int number, String title, String description) {
    return Container(
      width: 150,
      child: Column(
        children: [
          Container(
            width: 60,
            height: 60,
            decoration: BoxDecoration(
              color: const Color(0xFF207CCA),
              borderRadius: BorderRadius.circular(30),
              boxShadow: [
                BoxShadow(
                  color: const Color(0xFF1E5799).withOpacity(0.3),
                  blurRadius: 5,
                  offset: const Offset(0, 5),
                ),
              ],
            ),
            child: Center(
              child: Text(
                number.toString(),
                style: const TextStyle(
                  color: Colors.white,
                  fontSize: 24,
                  fontWeight: FontWeight.bold,
                ),
              ),
            ),
          ),
          const SizedBox(height: 15),
          Text(
            title,
            style: const TextStyle(
              color: Color(0xFF1E5799),
              fontSize: 16,
              fontWeight: FontWeight.bold,
            ),
            textAlign: TextAlign.center,
          ),
          const SizedBox(height: 10),
          Text(
            description,
            style: const TextStyle(
              color: Color(0xFF666666),
              fontSize: 14,
            ),
            textAlign: TextAlign.center,
          ),
        ],
      ),
    );
  }

  Widget _buildVenueSection() {
    return Container(
      margin: const EdgeInsets.all(20),
      padding: const EdgeInsets.all(40),
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 3),
          ),
        ],
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          _buildSectionTitle('推荐场地'),
          const SizedBox(height: 10),
          const Text(
            '精选优质会议场地，满足不同会议需求',
            style: TextStyle(
              color: Color(0xFF666666),
              fontSize: 16,
            ),
          ),
          const SizedBox(height: 30),
          _buildVenueGrid(),
        ],
      ),
    );
  }

  Widget _buildVenueGrid() {
    return GridView.count(
      shrinkWrap: true,
      physics: const NeverScrollableScrollPhysics(),
      crossAxisCount: MediaQuery.of(Get.context!).size.width < 768 ? 1 : 3,
      crossAxisSpacing: 30,
      mainAxisSpacing: 30,
      childAspectRatio: 300 / 350,
      children: [
        _buildVenueCard('五星级酒店', '国际会议中心', '高端五星级酒店会议场地，可容纳500人，配备先进会议设施'),
        _buildVenueCard('创意空间', '创意办公空间', '现代化创意空间，适合小型研讨会和团队活动，氛围轻松活泼'),
        _buildVenueCard('度假村', '湖畔度假村', '风景优美的度假村会议场地，适合企业年会和团队建设活动'),
      ],
    );
  }

  Widget _buildVenueCard(String imageText, String title, String description) {
    return Container(
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 5),
          ),
        ],
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Container(
            height: 200,
            color: Colors.grey[200],
            child: Center(
              child: Text(
                imageText,
                style: const TextStyle(
                  color: Colors.grey,
                  fontSize: 18,
                ),
              ),
            ),
          ),
          Padding(
            padding: const EdgeInsets.all(20),
            child: Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                Text(
                  title,
                  style: const TextStyle(
                    color: Color(0xFF1E5799),
                    fontSize: 18,
                    fontWeight: FontWeight.bold,
                  ),
                ),
                const SizedBox(height: 10),
                Text(
                  description,
                  style: const TextStyle(
                    color: Color(0xFF666666),
                    fontSize: 14,
                  ),
                ),
                const SizedBox(height: 15),
                const Text(
                  '查看详情 →',
                  style: TextStyle(
                    color: Color(0xFF207CCA),
                    fontSize: 14,
                    fontWeight: FontWeight.bold,
                  ),
                ),
              ],
            ),
          ),
        ],
      ),
    );
  }

  Widget _buildCasesSection() {
    return Container(
      margin: const EdgeInsets.all(20),
      padding: const EdgeInsets.all(40),
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 3),
          ),
        ],
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          _buildSectionTitle('成功案例'),
          const SizedBox(height: 10),
          const Text(
            '我们已为众多企业提供了优质的会务服务',
            style: TextStyle(
              color: Color(0xFF666666),
              fontSize: 16,
            ),
          ),
          const SizedBox(height: 30),
          _buildCasesGrid(),
        ],
      ),
    );
  }

  Widget _buildCasesGrid() {
    return GridView.count(
      shrinkWrap: true,
      physics: const NeverScrollableScrollPhysics(),
      crossAxisCount: MediaQuery.of(Get.context!).size.width < 768 ? 1 : 3,
      crossAxisSpacing: 30,
      mainAxisSpacing: 30,
      childAspectRatio: 300 / 350,
      children: [
        _buildCaseCard('科技峰会', '2023全球科技创新峰会',
            '承办为期3天的国际科技峰会，接待来自20个国家的500余名参会者，提供全程同声传译和直播服务。'),
        _buildCaseCard(
            '企业年会', '某集团年度盛典', '策划执行1000人规模的企业年会，包括颁奖典礼、文艺演出和晚宴，获得客户高度评价。'),
        _buildCaseCard(
            '产品发布会', '新产品全球发布会', '策划线上线下结合的新品发布会，现场200人参与，线上直播观看量突破50万。'),
      ],
    );
  }

  Widget _buildCaseCard(String imageText, String title, String description) {
    return Container(
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(8),
        boxShadow: [
          BoxShadow(
            color: Colors.black12,
            blurRadius: 5,
            offset: const Offset(0, 5),
          ),
        ],
      ),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Container(
            height: 200,
            color: Colors.grey[200],
            child: Center(
              child: Text(
                imageText,
                style: const TextStyle(
                  color: Colors.grey,
                  fontSize: 18,
                ),
              ),
            ),
          ),
          Padding(
            padding: const EdgeInsets.all(20),
            child: Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                Text(
                  title,
                  style: const TextStyle(
                    color: Color(0xFF1E5799),
                    fontSize: 18,
                    fontWeight: FontWeight.bold,
                  ),
                ),
                const SizedBox(height: 10),
                Text(
                  description,
                  style: const TextStyle(
                    color: Color(0xFF666666),
                    fontSize: 14,
                  ),
                ),
                const SizedBox(height: 15),
                const Text(
                  '查看详情 →',
                  style: TextStyle(
                    color: Color(0xFF207CCA),
                    fontSize: 14,
                    fontWeight: FontWeight.bold,
                  ),
                ),
              ],
            ),
          ),
        ],
      ),
    );
  }

  Widget _buildFooter() {
    return Container(
      margin: const EdgeInsets.all(20),
      padding: const EdgeInsets.all(40),
      decoration: BoxDecoration(
        color: const Color(0xFF1A1A2E),
        borderRadius: BorderRadius.circular(8),
      ),
      child: Column(
        children: [
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            // flexWrap: Wrap,
            children: [
              _buildFooterLink('关于我们'),
              _buildFooterLink('服务条款'),
              _buildFooterLink('隐私政策'),
              _buildFooterLink('帮助中心'),
              _buildFooterLink('联系我们'),
            ],
          ),
          const SizedBox(height: 20),
          const Text(
            '© 2025 创新服务平台 版权所有',
            style: TextStyle(
              color: Colors.white,
              fontSize: 14,
            ),
          ),
          const SizedBox(height: 10),
          const Text(
            '地址：XX省XX市XX区XX路XX号 | 服务热线：400-123-4567 | 邮箱：events@innovationservice.com',
            style: TextStyle(
              color: Colors.white,
              fontSize: 14,
            ),
            textAlign: TextAlign.center,
          ),
        ],
      ),
    );
  }

  Widget _buildFooterLink(String text) {
    return Padding(
      padding: const EdgeInsets.symmetric(horizontal: 20),
      child: Text(
        text,
        style: const TextStyle(
          color: Color(0xFFA8B2D1),
          fontSize: 14,
        ),
      ),
    );
  }
}
